package com.sky.mapper;

import com.github.pagehelper.Page;
import com.sky.dto.AnnouncementsAddDTO;
import com.sky.dto.AnnouncementsUpdateDTO;
import com.sky.dto.BaclstageNoticeQueryDTO;
import com.sky.vo.AnnouncementsVO;
import com.sky.vo.UserListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 贾晓晨
 * @version 1.0
 */
@Mapper
public interface BackstageNoticeMapper {


    AnnouncementsVO getNoticeById(Integer id);

    void updateAnnouncement(AnnouncementsUpdateDTO announcementsUpdateDTO);

    void deleteAnnouncement(List<Integer> ids);

    void announcementAdd(AnnouncementsAddDTO announcementsAddDTO);

    Page<AnnouncementsVO> getAllNotice(BaclstageNoticeQueryDTO baclstageNoticeQueryDTO);
}
